/*
 * Monitor.java
 * 
 * last update: 16.01.2010 by Stefan Saru
 * 
 * author:	Alec(panovici@elcom.pub.ro)
 * 
 * Obs:
 */
package engine;

/**
 * Provides s is a simple way to communicate some state change between parts
 * A monitor is a "thing" that surveys for an expression to gain some given value. 
 * When that happents, it should notify some threads that are waiting for this 
 * specific event ( the waiters).
 */

public interface  Monitor {
  //this wakes up all the threads waiting for this monitor's event
  abstract void trigger()
    throws InterpretTimeException;
}


